
#include <material_editor/materialview.h>
#include <materialmanager.h>
#include <session.h>
#include <QApplication>
#include <QFile>
#include <QMainWindow>
#include <QLocale>
#include <config.h>

int main (int argc, char** argv)
{
  QApplication app(argc, argv);

  // reset the numeric local to C, so that all numbers
  // can be read the same way
  setlocale(LC_NUMERIC,"C");


  Session* session = Session::Get();
  session->Initialize();
#ifdef WIN32
  session->Open("d:/programming/crimson-core/data");
#else
  session->Open("/opt/programming/crimson-core/data");
#endif

  session->GetMainWindow()->resize(1024, 768);
  session->GetMainWindow()->setVisible(true);

  return app.exec ();
}
